package com.zto.sch.base.normal;

import com.zto.sch.base.pojo.People;
import com.zto.sch.base.util.JsonUtil;

import java.util.Date;

/**
 * @program: sch-diy-parent
 * @description:
 * @author: sch
 * @create: 2020-12-24 15:33
 **/
public class JsonSerializerTest {
    public static void main(String[] args) {
        People people = People.builder().birthDay(new Date())
                .mobile("18065141041")
                .name("小海").build();
        System.out.println(JsonUtil.toJSON(people));

    }
}
